﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.DomainModels;

namespace VoL.Domain.IServices.WorkforceManage
{
    /// <summary>
    /// 人员分组服务接口
    /// </summary>
    public interface INurseGroupService
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="nurseGroup">实体</param>
        /// <returns>返回受影响的行数</returns>
        Task<int> AddNurseGroup(NurseGroup nurseGroup);

        /// <summary>
        /// 更新
        /// </summary>
        /// <param name="nurseGroup">实体</param>
        /// <returns>返回受影响的行数</returns>
        Task<int> UpdateNurseGroup(NurseGroup nurseGroup);

        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="nurseGroup">实体</param>
        /// <returns>返回受影响的行数</returns>
        Task<int> DeleteNurseGroup(NurseGroup nurseGroup);

        /// <summary>
        /// 显示
        /// </summary>
        /// <returns>返回任务</returns>
        IQueryable<NurseGroup> GetAllNurseGroups();
    }
}
